﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace test_c_sharp
{
    class Doodad
    {
        public string Name { get; protected set; }

        public Rectangle Bounds { get; protected set; }

        public Texture2D Texture { get; protected set; }

        public Doodad(String name, Rectangle bounds, Texture2D texture)
        {
            this.Name = name;
            this.Bounds = bounds;
            this.Texture = texture;
        }

        public void Draw(SpriteBatch spritebatch)
        {
            spritebatch.Draw(Texture, Bounds, Color.White);
        }
    }
}
